package com.goldcn.goods.dto;

import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;

/**
 * Created by Administrator on 2016/11/14.
 */
public class QueryGoodsDto {

    private String name;
    private Long supplierID;
    private BigDecimal lowPrice;
    private BigDecimal highPrice;
    private Long labelID;
    private Integer isAudit;
    private String orderBy;
    private String orderType;
    private String prdNo;
    private Long companyID;
    //0 all, 1 已售罄, 2 已下架,3 审核中,4 已上架,5 审核未通过
    private Integer state;
    private String classifyID;
    private String subClassifyID;

    private Long shopID;

    //商品类型：1:自有 0:代销
    private Integer goodsType;

    //店铺上架  0未上架 1已上架
    private Integer shopOnsale;

    //价格类型 0普通商品 1实时金价
    private Integer priceType;

    //分组ID
    private Long tagID;

    private Long parentTagID;


    @ApiModelProperty(value = "款号", allowableValues = "kuanhao")
    public String getPrdNo() {
        return prdNo;
    }

    public void setPrdNo(String prdNo) {
        this.prdNo = prdNo;
    }

    @ApiModelProperty(value = "排序字段 默认 addTime", allowableValues = "price")
    public String getOrderBy() {
        return orderBy;
    }

    public void setOrderBy(String orderBy) {
        this.orderBy = orderBy;
    }

    @ApiModelProperty(value = "排序类型(desc,asc) 默认 desc", allowableValues = "desc")
    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    @ApiModelProperty(value = "商品名称", allowableValues = "商品名称")
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getSupplierID() {
        return supplierID;
    }

    public void setSupplierID(Long supplierID) {
        this.supplierID = supplierID;
    }

    public BigDecimal getLowPrice() {
        return lowPrice;
    }

    public void setLowPrice(BigDecimal lowPrice) {
        this.lowPrice = lowPrice;
    }

    public BigDecimal getHighPrice() {
        return highPrice;
    }

    public void setHighPrice(BigDecimal highPrice) {
        this.highPrice = highPrice;
    }

    public Long getLabelID() {
        return labelID;
    }

    public void setLabelID(Long labelID) {
        this.labelID = labelID;
    }

    public Integer getIsAudit() {
        return isAudit;
    }

    public void setIsAudit(Integer isAudit) {
        this.isAudit = isAudit;
    }


    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Long getCompanyID() {
        return companyID;
    }

    public void setCompanyID(Long companyID) {
        this.companyID = companyID;
    }

    public String getClassifyID() {
        return classifyID;
    }

    public void setClassifyID(String classifyID) {
        this.classifyID = classifyID;
    }

    public String getSubClassifyID() {
        return subClassifyID;
    }

    public void setSubClassifyID(String subClassifyID) {
        this.subClassifyID = subClassifyID;
    }

    public Long getShopID() {
        return shopID;
    }

    public void setShopID(Long shopID) {
        this.shopID = shopID;
    }


    public Integer getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(Integer goodsType) {
        this.goodsType = goodsType;
    }

    public Integer getShopOnsale() {
        return shopOnsale;
    }

    public void setShopOnsale(Integer shopOnsale) {
        this.shopOnsale = shopOnsale;
    }

    public Integer getPriceType() {
        return priceType;
    }

    public void setPriceType(Integer priceType) {
        this.priceType = priceType;
    }

    public Long getTagID() {
        return tagID;
    }

    public void setTagID(Long tagID) {
        this.tagID = tagID;
    }

    public Long getParentTagID() {
        return parentTagID;
    }

    public void setParentTagID(Long parentTagID) {
        this.parentTagID = parentTagID;
    }
}
